<?php

use Illuminate\Database\Seeder;

class AdminTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $users = [
            [
                'nickname' => 'Larry',
                'username' => 'admin',
                'email' => 'admin@feihuang.org',
                'password' => Hash::make('password')
            ]
        ];

        DB::table('admin')->insert($users);
    }
}
